systemctl start NetworkManager
nmcli connection delete eth0
rm -rf /etc/sysconfig/network-scripts/ifcfg-eth0
nmcli connection add ifname eth0 con-name eth0 type ethernet
nmcli connection add type ethernet con-name eth0  ifname eth0 autoconnect yes
nmcli connection modify eth0 ipv4.method auto connection.autoconnect yes
nmcli connection modify eth0 ipv4.method manual
nmcli connection modify eth0 ipv4.address 192.168.64.213/24
nmcli connection modify eth0 ipv4.gateway 192.168.64.2
nmcli connection modify eth0 ipv4.dns 192.168.64.2
nmcli connection up eth0
systemctl stop NetworkManager


